#ifndef __PARAM_STORE_H__
#define __PARAM_STORE_H__
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

#include "main.h"

#define ACK_TX_ID  0x700

typedef enum{
    eParam_store_nothing,
    eParam_store_success,
    eParam_store_equal,
    eParam_store_fail,
    eParam_store_number
}param_store_t;
extern uint16_t us_set_radio_tx_addr;
extern uint16_t us_set_radio_rx_addr;
extern uint8_t uc_set_radio_channel;

extern uint8_t uc_param_store_finish_flag;

extern uint8_t uc_boot_can_rx_flag;
extern uint16_t g_800_ma[HEM_PWMI_NUM];
extern uint16_t g_200_ma[HEM_PWMI_NUM];
void param_radio_data_init(void);
void param_store_run(void);
void param_pwmi_data_init(void);
void param_store_pwmi_to_flash(void);
#endif /* __PARAM_STORE_H__ */
